package com.example.myapplication.soaprequest.request

import org.simpleframework.xml.Element
import org.simpleframework.xml.Namespace
import org.simpleframework.xml.NamespaceList
import org.simpleframework.xml.Root

@Root(name = "arealist", strict = false)
@NamespaceList(Namespace(reference = "http://tempurl.org"))
class ArealistRequest : BaseRequest() {
    @field:Element(name = "levels", required = false)
    var levels: String = "" // 层号 1取出国家 2取出省 3取出市 4取县区

    @field:Element(name = "parentid", required = false)
    var parentid: String = "" //  如果是0，则取出levels层的所有,否则取父级id为parentid的数据
}